package com.m4f.city.exception;

import com.m4f.gaeweb.exception.M4FException;

public class M4FApiException extends M4FException {
	private int code;
	private String message;
	private String description;
	
	public M4FApiException() {
		super();
		this.code = 0;
		this.message = "";
		this.description = "";
	}
	
	public M4FApiException(int code, String message, String description) {
		this.code = code;
		this.message = message;
		this.description = description;
	}
	
	public M4FApiException(String message) {
		super(message);
	}
	
	public M4FApiException(Throwable throwable) {
		super(throwable);
	}

	public M4FApiException(String message, Throwable throwable) {
		super(message, throwable);
	}

	public int getCode() {
		return code;
	}

	public void setCode(int code) {
		this.code = code;
	}

	public String getMessage() {
		return message;
	}

	public void setMessage(String message) {
		this.message = message;
	}

	public String getDescription() {
		return description;
	}

	public void setDescription(String description) {
		this.description = description;
	}
}
